//
//  DJConstant.h
//  DualJoy
//
//  Created by lijunge on 2019/11/14.
//  Copyright © 2019 lijunge. All rights reserved.
//

#ifndef DJConstant_h
#define DJConstant_h

#import "DJTool.h"

// ------- size --------
#define kDJStatusBarHeight ([DJTool isIPhone_X_Series] ? 44.0 : 20.0)
#define kDJBottomMargin ([DJTool isIPhone_X_Series] ? 34.0 : 0.0)
#define kDJNavBarHeight (kDJStatusBarHeight + 44.0)
#define kDJTabBarHeight (kDJBottomMargin + 49.0)

#define kDJScreenHeight [UIScreen mainScreen].bounds.size.height
#define kDJScreenWidth [UIScreen mainScreen].bounds.size.width
#define kDJScreenWidthScale (kDJScreenWidth/375.0)

// ------- color --------
#define RGBA(r,g,b,a) [UIColor colorWithRed:r/255.0f green:g/255.0f blue:b/255.0f alpha:a]
#define RGB(r,g,b) RGBA(r,g,b,1.0f)
#define rgb(r,g,b) RGBA(r,g,b,1.0f)
#define rgba(r,g,b,a) RGBA(r,g,b,a)

#define KScienceTechnologyBlue  RGB(59,185,222)
#define kBackColor              RGB(9, 33, 62)
#define kVCBackColor            RGB(28, 42, 60)
#define kPicBackColor           RGB(0, 40, 90)


#define kWeiXinKey @"wx5e2062d83ab2ea0a"
#define kWeiXinSecret @"29ff7ae6692ac1640c2f9729a88ffb91"
#define kWeiXinLink @"https://kaleido.com/"

#define kFacebookKey @"fb560032458106915"
#define kGoogleClientID @"339347964847-29hil3g7epf8anp1ihdjrrucaffdol51.apps.googleusercontent.com"

#define kBuglyID  @"7ea5e2b144"

#endif /* DJConstant_h */
